SCSite = sCore.makeClass(Container,{
    postback_url_preffix : '/',
    init : function() {
        SCSite.parentClass.init.apply(this,arguments);
        $.extend(this,{
            name : "Site"
        });
        this.create();
    },
    triggerEvent : function(o,n) {
        var args = {};
        this.collectPost(args);
        (new SCAjaxRequest({
            url:this.postback_url_preffix+"/?ajax=1"
        }))
        .OnStart($.proxy(this.AjaxRequest_OnStart,this))//@TODO Implement or remove this handler
        .OnComplete($.proxy(this.AjaxRequest_OnComplete,this)) //@TODO Implement or remove this handler
        .OnSuccess($.proxy(this.AjaxRequest_OnSuccess,this))
        .OnError($.proxy(this.AjaxRequest_OnError,this))//@TODO Implement or remove this handler
        .Send($.extend({
            __EVENTER:o.getControlFullName(),
            __EVENT:n
        },args));
        return this;
    },
    AjaxRequest_OnSuccess : function(c) {
        var r = c.currentTarget.response;
        jQuery.globalEval(r);
    }
});
Site = sCore.makeClass(SCSite,{});